home *** CD-ROM | disk | FTP | other *** search
- ;
- ; SetDefaultTheme v1.0 - Done by Andreas Falkenhahn in a hurry
- ;
- ; I was too lazy too merge this in a 'real' program
- ;
-
- requestchoice >env:selection title "SetDefaultTheme" body "This tool allows you to select a theme to use as default!" gadgets "Continue|Cancel"
-
- if $selection eq 0
- else
- requestchoice >env:selection title "SetDefaultTheme" body "Select the theme now, you want to use as default!" gadgets "OK"
- requestfile >env:selection1 title "Select theme" drawer "S:NewInstaller/Themes" drawersonly
- requestchoice >env:selection title "SetDefaultTheme" body "Are you sure to install that theme? Your old theme will be deleted!" gadgets "Yes|No"
-
- if $selection eq 0
- else
- delete >nil: S:NewInstaller/Defaults/#?
- copy >nil: $selection1 S:NewInstaller/Defaults/
- requestchoice >env:selection title "SetDefaultTheme" body "Theme installed successfully!" gadgets "OK"
- endif
-
- delete >nil: env:Selection1
-
- endif
-
- delete >nil: env:selection
- quit
-